//
//  GetTopLikeSpotTask.h
//  ZooNgonDoiOS
//
//  Created by Anh Jun Linh Tinh on 7/5/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RestKit/RestKit.h"
#import "RestKit/JSONKit.h"

@interface GetTopLikeSpotTask : NSObject <RKRequestDelegate>{
    id _target;
    SEL _selector;
    int _limit;
    int _offset;
    NSString *_lon;
    NSString *_lat;
}
-(id)initWithParams:(int)limit offset:(int)offset lon:(NSString *)lon lat:(NSString *)lat;
-(id)initWithParams:(NSString *)lon lat:(NSString *)lat;
-(id)initWithParams:(int)limit lon:(NSString *)lon lat:(NSString *)lat;
-(id)initWithParams:(int)limit offset:(int)offset;
-(id)initWithParams:(int)limit;
-(void)doExecute:(id)pCaller callback:(SEL)pCallback;

@end
